package com.douqu.game.core.entity.ext.data.challenge;

import com.douqu.game.core.entity.EntityObject;

/**
 * @author: miracle.
 * Description:
 * Date: 2018/6/22 0022 下午 7:35
 * Huan Yu Copyright (c) 2017 All Rights Reserved.
 */
public class WorldMapBeKillBean extends EntityObject{

    //被杀玩家index
    private String playerIndex;

    private String name;

    //被杀玩家等级
    private int lv;

    //被杀玩家次数 默认是1
    private int count;

    /** 被杀玩家 杀人次数 */
    private int beKillCount;

    //杀死该玩家的总连杀得分
    private int currentValue;

    //额外加分
    private int otherScore;

    public WorldMapBeKillBean(){
        count = 1;
    }

    public WorldMapBeKillBean(String playerIndex,String name,int lv,int beKillCount){
        this.playerIndex = playerIndex;
        this.name = name;
        this.lv = lv;
        this.count = 1;
        this.beKillCount = beKillCount;

    }

    public void addCount(){
        count++;
    }

    public void addCount(int val){
        count += val;
    }

    public String getPlayerIndex() {
        return playerIndex;
    }

    public void setPlayerIndex(String playerIndex) {
        this.playerIndex = playerIndex;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        this.lv = lv;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(int currentValue) {
        this.currentValue = currentValue;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getBeKillCount() {
        return beKillCount;
    }

    public int getOtherScore() {
        return otherScore;
    }

    public void setOtherScore(int otherScore) {
        this.otherScore = otherScore;
    }

    public void setBeKillCount(int beKillCount) {
        this.beKillCount = beKillCount;

    }

    public void addCurrentValue(int addValue){
        currentValue += addValue;
    }
}

